if(catalog.security.framework.LoginWindow) {
    Ext.override(catalog.security.framework.LoginWindow, {
        titleText:'catalog Login',
        submitText:'Trimite',
        cancelText:'Anuleaza',
        usernameText:'Utilizator:',
        passwordText:'Parola:'
    });
}

if(catalog.security.framework.HeaderPanel) {
    Ext.override(catalog.security.framework.HeaderPanel, {
        homeText:'Acasa',
        userText:'Utilizator',
        exitText:'Iesire'
    });
}


if(catalog.security.framework.MenuTreePanel) {
    Ext.override(catalog.security.framework.MenuTreePanel, {
        navPanelText:'Navigator',      
        expandText:'Extinde tot',
        collapseText:'Restrange tot',
        allModulesText:'Toate modulele'
    });
}

if(catalog.security.framework.msgPanel) {
    Ext.override(catalog.security.framework.msgPanel, {
        messageText:'Mesage'
    });
}

if(catalog.security.framework.MainPanel) {
    Ext.override(catalog.security.framework.MainPanel, {
        centerPanelText:'Center Panel'
    });
}

function userListLocale() {
    if(catalog.security.userList.SearchPanel) {
        Ext.override(catalog.security.userList.SearchPanel, {
            userName:'Nume utilizator',
            fullName:'Nume',
            email:'Email',
            enabled:'Activat',
            bindRoles:'Asociaza rol',
            addUser:'Adauga utilizator',
            enableUsersButton:'Activeaza/Dezactiveaza',
            statusAccordConfMsg:'Verificati daca toti utilizatorii selectati sunt activati sau dezactivati!',
            enableUsersConfMsg:'Sunteti sigur ca doriti sa activati utilizatorii selectati?',
            disableUsersConfMsg:'Sunteti sigur ca doriti sa dezactivati utilizatorii selectati?'
        });
    }
}

function roleSelectLocale() {
    if(catalog.security.roleSelect.SearchPanel) {
        Ext.override(catalog.security.roleSelect.SearchPanel, {
            addRole:'Adauga rol',
            onlyBinded:'Doar asociate',
            roleName:'Nume rol',
            roleDescription:'Descriere rol'
        });
    }
}


function authorityListLocale() {
    if(catalog.security.authorityList.SearchPanel) {
        Ext.override(catalog.security.authorityList.SearchPanel, {
            byName:'Nume',
            name:'Nume',
            addAuthority:'Adauga autoritate',
            value:'Valoare',
            type:'Tip',
            bindRole:'Asociaza rol'
        });
    }
}
function authorityDetailLocale(){
    if(catalog.security.authorityDetail.FormPanel) {
        Ext.override(catalog.security.authorityDetail.FormPanel, {
            authorityDetailText:'Detalii autoritate',
            idText:'ID',
            nameText:'Nume',
            valueText:'Valoare',
            typeText:'Tip',
            roleText:'Rol',
            comboEmptyText:'Alegeti un tip...',
            lovComboEmptyText:'Alegeti rolurile...'
        });
    }    
}
function roleListLocale(){
    if(catalog.security.roleList.SearchPanel) {
        Ext.override(catalog.security.roleList.SearchPanel, {
            bindUser:'Asociaza utilizator',
            bindAuthority:'Asociaza autoritate',
            addRole:'Adauga rol',
            name:'Nume',
            description:'Descriere'
        });
    }    
}
function userSelectLocale(){
    if(catalog.security.userSelect.SearchPanel) {
        Ext.override(catalog.security.userSelect.SearchPanel, {
            onlyBinded:'Doar asociate',
            addUser:'Adauga utilizator',
            fullName:'Nume',
            emailAddress:'Adresa email',
            enabled:'Activat'
        });
    }    
}
function authoritySelectLocale(){
    if(catalog.security.authoritySelect.SearchPanel) {
        Ext.override(catalog.security.authoritySelect.SearchPanel, {
            onlyBinded:'Doar asociate',
            addAuth:'Adauga autoritate',
            name:'Nume',
            type:'Tip',
            value:'Valoare'
        });
    }    
}
function roleDetailLocale(){
    if(catalog.security.roleDetail.FormPanel) {
        Ext.override(catalog.security.roleDetail.FormPanel, {
        	roleDetailText: 'Detalii rol',
        	rolenameText: 'Nume rol',
        	descriptionText: 'Descriere'
        });
    }    
}

function userDetailLocale(){
    if(catalog.security.userDetail.FormPanel) {
        Ext.override(catalog.security.userDetail.FormPanel, {
            userDetailText: 'Detalii utilizator',
            fullnameText: 'Nume',
            emailaddressText: 'Adresa email',
            loginnameText: 'Nume utilizator',
            passwordText: 'Parola'
        });
    }    
}